package ${model.packageName}.api.bean.request;

import ${model.packageName}.enums.${model.initUpperName}OperationType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.terminus.api.consts.OperationType;
import io.terminus.api.request.AbstractRequest;
import lombok.Data;

@Data
@ApiModel(value = "${model.initUpperName}QueryRequest", description = "${model.desc}查询请求", parent = AbstractRequest.class)
public class ${model.initUpperName}QueryRequest extends AbstractRequest {

	@ApiModelProperty(value = "Id")
	private Long id;

	@Override
	public void checkParam() {
		super.checkParam();
	}
	
    @Override
    public OperationType getOperationType() {
        return ${model.initUpperName}OperationType.${model.dbName?upper_case}_QUERY;
    }
}
